﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Pyramid.Models
{
	public class Channel
	{
		[Display(Name = "序号")]
		public int Id { get; set; }

		[Display(Name = "频道名称")]
		[MaxLength(20)]
		public string Name { get; set; }

		[Display(Name = "备注")]
		[MaxLength(200)]
		public string Remark { get; set; }

		public virtual ICollection<Article> Articles { get; set; }
	}
}